package cn.wh.user.pojo;

import java.util.Date;

public class AAdmin
{

	private Integer id;
	//private Integer roleId;
	private String email;
	private String password;
	private String trueName;
	private String phone;
	private String qq;
	private byte status;
	private Date createDate;
	private Date updateDate;
	private Date lastLoginDate;
	
	// 关联对象（角色是一，管理员是多）
	private ARole role;
	
	public Integer getId()
	{
		return id; 
	}
	public void setId(Integer id)
	{
		this.id = id;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getTrueName()
	{
		return trueName;
	}
	public void setTrueName(String trueName)
	{
		this.trueName = trueName;
	}
	public String getPhone()
	{
		return phone;
	}
	public void setPhone(String phone)
	{
		this.phone = phone;
	}
	public String getQq()
	{
		return qq;
	}
	public void setQq(String qq)
	{
		this.qq = qq;
	}
	public byte getStatus()
	{
		return status;
	}
	public void setStatus(byte status)
	{
		this.status = status;
	}
	public Date getCreateDate()
	{
		return createDate;
	}
	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}
	public Date getUpdateDate()
	{
		return updateDate;
	}
	public void setUpdateDate(Date updateDate)
	{
		this.updateDate = updateDate;
	}
	public Date getLastLoginDate()
	{
		return lastLoginDate;
	}
	public void setLastLoginDate(Date lastLoginDate)
	{
		this.lastLoginDate = lastLoginDate;
	}
	public ARole getRole() {
		return role;
	}
	public void setRole(ARole role) {
		this.role = role;
	}
	
}
